//
//  HomeViewController.h
//  OrderOnline
//
//  Created by YAPPA_3 on 11/28/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface HomeViewController : UIViewController {

	UIScrollView* m_scrollView;
	NSMutableArray* m_listThumbAll;
	NSMutableArray* m_listThumbFood;
	NSMutableArray* m_listThumbDrink;
	UIBarButtonItem* m_barButtonSlide;
	UINavigationBar* m_naviBar;
	BOOL m_isSlideshow;
	int m_typeMenu;
}
@property(nonatomic, retain) IBOutlet UIScrollView* m_scrollView;
@property(nonatomic, retain) IBOutlet UIBarButtonItem* m_barButtonSlide;
@property(nonatomic, retain) IBOutlet UINavigationBar* m_naviBar;
@property(nonatomic, retain) NSMutableArray* m_listThumbAll;

- (void) loadListThumb;
- (CGPoint) getThumbFrameAt:(int)index withOrientation: (UIInterfaceOrientation)orie;
- (void) correctThumbFrame;
- (void) addThumbToScrollView;
- (void) autoScrollView: (id) sender;
- (void) loadListThumbByType: (int) typeMenu;
- (void) getListFood: (id) sender;
- (void) getListDrink: (id) sender;
- (void) getListAll: (id) sender;
- (void) changeToOrder: (id) sender;
@end
